<?php


class b2c_ctl_wap_statics extends b2c_ctl_wap_common{  

    function __construct(&$app){
        parent::__construct($app);
      
        $shopname = app::get('wap')->getConf('wap.name');
        $this->shopname =$shopname;
        if(isset($shopname)){
            $this->title = app::get('b2c')->_('帮助中心').'_'.$shopname;
            $this->keywords = app::get('b2c')->_('帮助中心').'_'.$shopname;
            $this->description = app::get('b2c')->_('帮助中心').'_'.$shopname;
        }
        $this->action = $this->_request->get_act_name();
        if(!$this->action) $this->action = 'index';
        $this->pagedata['res_url'] = $this->app->res_url;
        $this->pagedata['member'] = $_REQUEST['member_id'] ? app::get("b2c")->model('members')->getRow("*",array('member_id'=> $_REQUEST['member_id'])) : array();
        /** end **/
    }
    function pointLv(){
            $this->title =$this->shopname ? $this->title : "樱淘社等级规则";
            $this->keywords = $this->shopname? $this->keywords : "樱淘社等级规则";
            $this->description = $this->shopname ?$this->description : "樱淘社等级规则";
        $this->page('wap/statics/pointLv.html');
    }
    function point(){
            $this->title =$this->shopname ? $this->title : "樱镑规则";
            $this->keywords = $this->shopname? $this->keywords : "樱镑规则";
            $this->description = $this->shopname ?$this->description : "樱镑规则";
        $this->page('wap/statics/point.html');
    }
}
